<?php

$oper = $_POST['oper'];

if (!isset($oper))
{
	die("Unknown command");
}

require('../dbconnect.inc.php');

switch ($oper)
{

	case 'del':
			$sth = $dbh->prepare('delete from network_map where c_id=?');
			$sth->execute(array($_POST['id']));
		break;
}

?>